<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.text.xml.DocTester</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.text.xml.DocTester";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.text.xml.DocTester.html" class="symbol">tango.text.xml.DocTester</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: March 2008
<p class="sec_header">Authors:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="DocTester" href="./htmlsrc/tango.text.xml.DocTester.html#L29" kind="class" beg="29" end="203">DocTester</a><span class="tparams">(T)</span>; <a title="Permalink to this symbol" href="#DocTester" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L29">#</a></dt>
<dd class="ddef">
<div class="summary">Validate a document</div>
<p class="sec_header">TODO:</p>add various tests here, or in subclasses, as required
<dl>
<dt class="decl">alias Document!(T) <a class="symbol _alias" name="DocTester.Doc" href="./htmlsrc/tango.text.xml.DocTester.html#L31" kind="alias" beg="31" end="31">Doc</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#DocTester.Doc" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L31">#</a></dt>
<dd class="ddef">
<div class="summary">the typed document</div></dd>
<dt class="decl">alias Doc.Node <a class="symbol _alias" name="DocTester.Node" href="./htmlsrc/tango.text.xml.DocTester.html#L32" kind="alias" beg="32" end="32">Node</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#DocTester.Node" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L32">#</a></dt>
<dd class="ddef">
<div class="summary">generic document node</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.validate" href="./htmlsrc/tango.text.xml.DocTester.html#L40" kind="function" beg="40" end="43">validate</a><span class="params">(Doc <em>doc</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DocTester.validate" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L40">#</a></dt>
<dd class="ddef">
<div class="summary">Generate a text representation of the document tree</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.validate:2" href="./htmlsrc/tango.text.xml.DocTester.html#L51" kind="function" beg="51" end="94">validate</a><span class="params">(Node <em>node</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DocTester.validate:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L51">#</a></dt>
<dd class="ddef">
<div class="summary">Generate a representation of the given node-subtree</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.element" href="./htmlsrc/tango.text.xml.DocTester.html#L102" kind="function" beg="102" end="105">element</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DocTester.element" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L102">#</a></dt>
<dd class="ddef">
<div class="summary">validate an element</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.attribute" href="./htmlsrc/tango.text.xml.DocTester.html#L113" kind="function" beg="113" end="115">attribute</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DocTester.attribute" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L113">#</a></dt>
<dd class="ddef">
<div class="summary">validate an attribute</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.data" href="./htmlsrc/tango.text.xml.DocTester.html#L123" kind="function" beg="123" end="125">data</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DocTester.data" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L123">#</a></dt>
<dd class="ddef">
<div class="summary">validate a data node</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.comment" href="./htmlsrc/tango.text.xml.DocTester.html#L133" kind="function" beg="133" end="135">comment</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DocTester.comment" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L133">#</a></dt>
<dd class="ddef">
<div class="summary">validate a comment node</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.pi" href="./htmlsrc/tango.text.xml.DocTester.html#L143" kind="function" beg="143" end="145">pi</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DocTester.pi" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L143">#</a></dt>
<dd class="ddef">
<div class="summary">validate a pi node</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.cdata" href="./htmlsrc/tango.text.xml.DocTester.html#L153" kind="function" beg="153" end="155">cdata</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DocTester.cdata" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L153">#</a></dt>
<dd class="ddef">
<div class="summary">validate a cdata node</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.doctype" href="./htmlsrc/tango.text.xml.DocTester.html#L163" kind="function" beg="163" end="165">doctype</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#DocTester.doctype" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L163">#</a></dt>
<dd class="ddef">
<div class="summary">validate a doctype node</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.uniqueAttrNames" href="./htmlsrc/tango.text.xml.DocTester.html#L173" kind="function" beg="173" end="191">uniqueAttrNames</a><span class="params">(Node <em>node</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#DocTester.uniqueAttrNames" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L173">#</a></dt>
<dd class="ddef">
<div class="summary">Ensure attribute names are unique within the element</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocTester.error" href="./htmlsrc/tango.text.xml.DocTester.html#L199" kind="function" beg="199" end="202">error</a><span class="params">(char[] <em>format</em>, ...)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#DocTester.error" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocTester.html#L199">#</a></dt>
<dd class="ddef">
<div class="summary">halt validation</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (C) 2008 Kris Bell.  All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:39 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>